{% block as_form %}
    <input
            type="number"
            class="form-control"
            name="{{ field.key }}"
            placeholder="Enter {{ field.title }}"
            value="{{ field.val.national_number }}"
    >
{% endblock %}
{% block as_view %}
    <input  type="text"
                    class="form-control"
                    {% if field.required %} required {% endif %}
                    disabled
                    name="{{ field.key }}"
                    placeholder="Enter {{ field.title }}"
                    value="{{ field.val.international or field.val.name or field.val}}"
            >

{% endblock %}
{% block as_table %}
{{ field.field_name }}">{{ field.val if field.val else '' }}
{% endblock %}